#include "test.h"
void jiami(char arr[100], int sz , int key)
{
	int i = 0;
	for (i = 0; i < sz; i++)
		arr[i] = arr[i] - key;
}
void jiemi(char type[100],char count[100],char pass[100],char date[100], char mystring[400])
{
	int code = mystring[0] - '0';
	int j = 0;
	int tmp = 0;
	for (tmp = 2; mystring[tmp] != ';'; tmp++, j++)
		type[j] = mystring[tmp] + code;
	tmp++;
	for (j = 0; mystring[tmp] != ';'; tmp++,j++)
		count[j] = mystring[tmp] + code;
	tmp++;
	for (j = 0; mystring[tmp] != ';'; tmp++, j++)
		pass[j] = mystring[tmp] + code;
	tmp++;
	for (j = 0; mystring[tmp] != '\n'; tmp++, j++)
		date[j] = mystring[tmp] + code;
}